﻿using System.Web;

namespace AdHocReports
{
    public static class Runtime
    {
        public static string WebPath()
        {
            string ret = HttpContext.Current.Server.MapPath(null);

            if (ret.LastIndexOf("\\") != (ret.Length - 1))
            {
                ret += "\\";
            }

            return ret;
        }
    }
}
